<?php
if (isset($_GET['menu'])) {
    $_SESSION['menu'] = $_GET['menu'];
}
$menu = "";
if (isset($_SESSION['menu'])) {
    $menu = $_SESSION['menu'];
}
?>

<table width="50%" border="0" align="center" cellpadding="2" cellspacing="2" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
    <tr>        
        <td align="left">
            <a href="../fileList.php?menu=apk"><b><font color="#CCCCCC">返回</font></b></a>
        </td>
        <td width="150" <?php if ($menu == 'all') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
            <a href="marketAll.php?menu=all&method=modify"><?php if ($menu == 'all') { ?> <b><font color="#CCCCCC">全部</font></b> <?php } else { ?> 全部 <?php } ?></a>
        </td>
        <td width="150" <?php if ($menu == 'suggest') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
            <a href="marketSuggest.php?menu=suggest&method=modify"><?php if ($menu == 'suggest') { ?> <b><font color="#CCCCCC">推荐</font></b> <?php } else { ?> 推荐 <?php } ?></a>
        </td>
        <td width="150" <?php if ($menu == 'download') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
            <a href="marketDownload.php?menu=download&method=modify"><?php if ($menu == 'download') { ?> <b><font color="#CCCCCC">最热</font></b> <?php } else { ?> 最热 <?php } ?></a>
        </td>
        <td width="150" <?php if ($menu == 'uploadtime') { ?> bgcolor="#blue" <?php } else { ?> bgcolor="#FFFFFF" <?php } ?> align="center">
            <a href="marketUpload.php?menu=uploadtime&method=modify"><?php if ($menu == 'uploadtime') { ?> <b><font color="#CCCCCC">最新</font></b> <?php } else { ?> 最新 <?php } ?></a>
        </td>
    </tr>
</table>
